python 几种循环性能测试: while, for, 列表生成式, map等 直接上代码: 结果如下: 结论: 1)耗时:while > for > 列表生成式 > map函数; 2)连接list时,iter ...